import {createStore, combineReducers, applyMiddleware} from 'redux';
import reducers from '$reducers/reducer.js';
import promiseMiddleWare from '../utils/promiseMiddleWare'

let win = window
win.Prel

let store = createStore(reducers, applyMiddleware(promiseMiddleWare));
export default store


